package com.vcredit.creditcat.service;

import com.vcredit.creditcat.model.ApplyStrategy;
import com.vcredit.creditcat.persistence.base.ApplyStrategyMapper;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 
 **/
@Service
public class ApplyStrategyService {
	@Autowired
	private ApplyStrategyMapper mapper;

	public void insert(ApplyStrategy obj) {
		mapper.insert(obj);
	}

	public void update(ApplyStrategy obj) {
		mapper.update(obj);
	}

	public List<ApplyStrategy> findAll() {
		return mapper.findAll();
	}

	public List<ApplyStrategy> find(ApplyStrategy obj) {
		return mapper.find(obj);
	}
}